package com.javatian.dao;

import com.javatian.entity.AdminInfo;
import com.javatian.entity.VideoInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 新能源汽车视频信息Dao
 */
@Repository
public interface VideoInfoDao extends Mapper<VideoInfo> {

    /**
     * 根据名称，ID查询
     */
    List<VideoInfo> findByNameAndId(@Param("name")String name,@Param("id")Long id);
}
